﻿using HardcoreGame.Content.Buffs;
using Terraria;
using Terraria.Enums;
using Terraria.Localization;
using Terraria.ModLoader;

namespace HardcoreGame.Content.Items.Weapons.Summon.Whips
{
    public class HungryWhip : ModItem
    {
        public override LocalizedText Tooltip => base.Tooltip.WithFormatArgs(HungryWhipEnemyBuff.TagDamage);
        public override void SetDefaults()
        {
            Item.DefaultToWhip(ModContent.ProjectileType<Projectiles.Whips.HungryWhip>(), 40, 2.5f, 4.2f);
            Item.SetShopValues(ItemRarityColor.LightRed4, Item.sellPrice(0, 4, 60));
        }
        public override bool MeleePrefix()
        {
            return true;
        }
    }
}
